Method, device, and computer program for encapsulating partitioned timed media data

ABSTRACT

The invention relates to encapsulating tiled timed media data in a server and providing a timed media data bit-stream from encapsulated tiled timed media in a client device. The tiled timed media data comprises timed samples and each timed sample comprises a plurality of spatial subsamples. After having selected at least one spatial subsample from amongst the plurality of spatial subsamples of one of the timed samples, one tile track comprising the selected spatial subsample and one corresponding spatial subsample of each of the other timed samples is created for each selected spatial subsample. One composite track comprising at least one extractor identifying at least one of the created tile tracks is created. Each created track is independently encapsulated in at least one media segment file.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation, and claims the benefit, of U.S. patent application Ser. No. 15/415,738, presently pending and filed on Jan. 25, 2017, which is a Continuation of U.S. patent application Ser. No. 14/761,269, filed on Jul. 15, 2015 and is now issued as U.S. Pat. No. 9,591,383 on Mar. 7, 2017, which is a National Stage Application of International Patent Application No. PCT/EP2014/050952, filed on Jan. 17, 2014 and titled “Method, device, and computer program for encapsulating partitioned timed media”, which claims the benefit under 35 U.S.C. § 119(a)-(d) of United Kingdom Patent Application Nos. GB1300953.5, filed on Jan. 18, 2013 and GB1306451.4 filed on Apr. 9, 2013. The above cited patent applications are incorporated herein by reference in their entireties.

FIELD OF THE INVENTION

The invention generally relates to the field of encapsulation of timed media data, e.g. according to Base Media File Format as defined by the MPEG standardization organization, to improve stream delivery, in particular regarding HTTP (HyperText Transfer Protocol) streaming of user-selected regions of interest in compressed video streams. More particularly, the invention concerns a method, device, and computer program for encapsulation of an elementary stream containing partitioned data such as spatial tiles allowing efficient streaming of data, in particular of one or more tiles.

BACKGROUND OF THE INVENTION

Video coding is a way of transforming a series of video images into a compact digitized bit-stream so that the video images can be transmitted or stored. An encoding device is used to code the video images, with an associated decoding device being available to reconstruct the bit-stream for display and viewing. A general aim is to form the bit-stream so as to be of smaller size than the original video information. This advantageously reduces the capacity required of a transfer network, or storage device, to transmit or store the bit-stream code. To be transmitted, a video bit-stream is generally encapsulated according to a transmission protocol that typically adds headers and check bits.

Recently, the Moving Picture Experts Group (MPEG) published a new standard to unify and supersede existing streaming solutions over HTTP (HyperText Transfer Protocol). This new standard, called “Dynamic adaptive streaming over HTTP (DASH)”, is intended to support a media-streaming model over HTTP based on standard web servers, in which intelligence (i.e. selection of media data to stream and dynamic adaptation of the bit-streams to user choices, network conditions, and client capabilities) relies exclusively on client choices and devices.

In this model, a media presentation is organized in data segments and in a manifest called “Media Presentation Description (MPD)” that represents the organization of timed media data to be presented. In particular, a manifest comprises resource identifiers to use for downloading data segments and provides the context to select and combine those data segments to obtain a valid media presentation. Resource identifiers are typically HTTP-URLs (Uniform Resource Locator), possibly combined with byte ranges. Based on a manifest, a client device determines at any time which media segments are to be downloaded from a media data server according to its needs, its capabilities (e.g. supported codecs, display size, frame rate, level of quality, etc), and depending on network conditions (e.g. available bandwidth).

In addition, video resolution is continuously increasing, going from standard definition (SD) to high definition (HD), and to ultra-high definition (e.g. 4K2K or 8K4K, that is to say video comprising images of 4,096×2,400 pixels or 7,680×4,320 pixels). However, not all receiving and video decoding devices have resources (e.g. network access bandwidth or CPU (Central Processing Unit)) to access video in full resolution, in particular when video is of ultra-high definition, and not all users need to access such video. In such a context, it is particularly advantageous to provide the ability of accessing only some Regions-of-Interest (ROls) that is to say to access only some spatial sub-parts of a whole video sequence.

A known mechanism to access spatial sub-parts of frames belonging to a video consists in organizing each frame of the video as an arrangement of independently decodable spatial areas generally referred to as tiles. Some video formats such as SVC (Scalable Video Coding) or HEVC (High Efficiency Video Coding) provide support for tile definition. A user-defined ROI may cover one or several contiguous tiles.

Accordingly, for streaming user-selected ROls according to HTTP protocol, it is important to provide encapsulation of timed media data of an encoded video bit-stream in a way that enables spatial access to one or more tiles and that enables combination of accessed tiles.

It is to be recalled that encoded video bit-streams are generally constructed as a set of contiguous temporal samples that correspond to complete frames, the temporal samples being organized as a function of the decoding order. File formats are used to encapsulate and describe such encoded bit-streams.

For the sake of illustration, the International Standard Organization Base Media File Format (ISO BMFF) is a well-known flexible and extensible format that describes encoded timed media data bit-streams either for local storage or transmission via a network or via another bit-stream delivery mechanism. This file format is object-oriented. It is composed of building blocks called boxes that are sequentially or hierarchically organized and that define parameters of the encoded timed media data bit-stream such as timing and structure parameters. According to this file format, the timed media data bit-stream is contained in a data structure referred to as mdat box that is defined in another data structure referred to as track box. The track represents a timed sequence of samples where a sample corresponds to all the data associated with a single timestamp that is to say all the data associated with a single frame or all the data associated with several frames sharing the same timestamp.

For scalable video such as video of the SVC format, the layered media data organization can be efficiently represented by using multiple dependent tracks, each track representing the video at a particular level of scalability. In order to avoid data duplication between tracks, extractors can be used. According to a standard file format, an extractor is a data structure directly included in a bit-stream that enables efficient extraction of network abstraction layer (NAL) units from other bit-streams. For instance, the bit-stream of an enhancement layer track may comprise extractors that reference NAL units from a base layer track. Then later on, when such enhancement layer track is extracted from the file format, extractors must be replaced by the data that they are referencing to.

Several strategies can be adopted when using ISO BMFF embedding these mechanisms to describe sub-information and to ease access to this sub-information or to efficiently organize bit-streams into multiple segments.

For example, in the article entitled “Implications of the ISO Base Media File Format on Adaptive HTTP Streaming of H.264/SVC”, the authors, Kofler et al., present three different strategies for organizing a scalable video bit-stream (H264/SVC) for HTTP streaming considering possibilities as well as limitations of the ISO BMFF:

a) a single file containing a particular file header comprising a file type box “ftyp” and a movie box “moov” containing all ISO BMFF metadata (including track definitions), the single file also comprising a single mdat box containing the whole encoded bit-stream. This organization is suitable for local storage but is not adapted to HTTP streaming where a client may only need a part of the whole bit-stream;

b) a single file containing multiple moof/mdat boxes suitable for fragmentation. This format allows for progressive download. The moof box is equivalent to the moov box at fragment level. According to this scheme, using a fragmented media file, the scalable bit-stream is split into multiple dependent tracks representing the video at different scalability levels. Extractors are used to reference NAL units from other tracks. In case a track per tile is used, all addressable tracks have to be prepared in advance and tracks cannot be selected independently. If several tiles are to be displayed, several bit-streams must be decoded and the base layer is decoded several times;

c) multiple segments files, each file being accessible by its own URL and being downloadable independently. Each segment typically consists of a segment type box (styp), which acts as a kind of file header, an optional segment index box (sidx) and one or multiple fragments. Again, each fragment consists of a moof and a mdat box. According to this scheme, using a fragmented media file, each track is stored in its own segment with the associated bit-stream related to one level of scalability. If necessary, extractors are used to reference required bit-stream from dependent tracks. Such a coding scheme is particularly suitable for streaming tracks independently. It is well adapted to the DASH standard but it is not suitable for tile streaming since several bit-streams are to be decoded and thus, one decoder per track is required. Moreover, there is a potential duplication of the base layer's bit-stream when selecting more than one tile.

When applied to spatial tiles, none of these strategies allows efficient access to specific tiles in the context of HTTP streaming. Indeed with existing file format definition, it would still be necessary to access a multiple number of non-continuous byte ranges in an encoded bit-stream or it would result in bit-stream duplication in order to display spatial tiles of several frames corresponding to a given time interval.

To solve these issues, there is provided an efficient data organization and track description scheme suitable for spatial tiles, which ensures, whatever track combination is selected by a client application, that the result of the ISO BMFF parsing always leads to a valid video elementary bit-stream for the video decoder.

SUMMARY OF THE INVENTION

Faced with these constraints, the inventors provide a method and a device for encapsulating tiled timed media data in a server and for providing a timed media data bit-stream from tiled timed media data encapsulated in a plurality of media segment files.

It is a broad object of the invention to remedy the shortcomings of the prior art as described above.

According to a first aspect of the invention there is provided a method of encapsulating partitioned timed media data in a server, the partitioned timed media data comprising timed samples, each timed sample comprising a plurality of subsamples, the method comprising:

selecting at least one subsample from amongst the plurality of subsamples of one of the timed samples;

for each selected subsample, creating one partition track comprising the selected subsample and one corresponding subsample of each of the other timed samples;

creating at least one reference track comprising at least one extractor identifying at least one of the created partition tracks; and

independently encapsulating each of the created tracks in at least one media segment file.

Accordingly, the invention enables the combination of different portions, and in particular of different tiles, and the creation of a valid file format and elementary stream at parsing time whatever the selected set of portions or tiles downloaded by a client device.

Therefore, the method of the invention is suitable for efficient streaming of independent portions or tiles, requires only useful data to be sent to a client device, is suitable for more than one portion or tile selection (i.e. arbitrary ROI), reduces indexation overhead (compared to byte-range requests), and can be integrated in a MPEG standard.

In an embodiment, the partitioned timed media data are tiled timed media data, the subsamples being spatial subsamples, the at least one partition track being at least one tile track, and the at least one reference track being at least one composite track. The at least one reference track may contain extractors and optionally initialization data.

In an embodiment, the at least one extractor further identifies at least one spatial subsample of the at least one identified tile track.

In an embodiment, the method further comprises a step of creating an initialization segment file comprising parameters allowing description of a spatial portion of the tiled timed media data from the created tile tracks and the created at least one composite track. The initialization segment file may comprise references to the created tile tracks, a list of referenced tile tracks associated with the at least one created composite track, a tile handler associated with each of the created tile tracks indicating that the track contains spatial subsample information, and/or general presentation information associated with each of the created tile tracks.

In an embodiment, at least two tile tracks are created in the step of creating one tile track for each selected spatial subsample, the at least one composite track comprising at least one item of data that is to be used to decode any of two spatial subsamples comprised within the same timed sample.

In an embodiment, the tiled timed media data are scalable tiled timed media data according to which each of the timed samples comprises a reference layer and at least one enhancement layer, the reference layer comprising at least one reference spatial subsample and the at least one enhancement layer comprising a plurality of enhancement spatial subsamples, and wherein tile tracks created in the step of creating one tile track for each selected spatial subsample are enhancement tile tracks comprising enhancement spatial subsamples, the method further comprising a step of creating at least one reference track comprising reference spatial subsamples.

In an embodiment, the reference layer comprises a plurality of reference spatial subsamples and wherein a plurality of reference tracks are created, each reference track of the plurality of reference tracks forming a reference tile track.

In an embodiment, media segment files resulting from encapsulating each of the created tracks comprise a data structure for storing metadata including definitions of the corresponding track.

In an embodiment, at least one of the media segment files resulting from encapsulating each of the created tracks comprises a data structure for storing metadata including at least one definition of at least one group of subsamples of the corresponding track.

In an embodiment, at least one of the media segment files resulting from encapsulating each of the created tracks comprises a data structure for storing metadata including different definitions of different groups of subsamples of the corresponding track.

In an embodiment, the data structure storing metadata includes at least one definition and a version type indicating that at least one definition applies to all subsamples of the corresponding track.

In an embodiment, at least one parameter of the data structure storing metadata including at least one definition of at least one group of subsamples of the corresponding track, relating to subsample decoding dependencies, indicates that each subsample of the group can be decoded without using a subsample of another group.

In an embodiment, the subsamples of a group are identified according to a grouping type to which the subsamples belong.

In an embodiment, the subsamples of a group are identified according to a grouping type to which the subsamples belong, a grouping type providing a definition for each subsample of the group.

In an embodiment, the initialization segment file comprises one definition to be used by default for processing subsamples of at least one tile track that are not associated to any specific definition stored in the media segment file resulting from encapsulating the corresponding at least one tile track.

In an embodiment, the method further comprises a step of adding initialization data in at least one of the media segment files resulting from encapsulating each of the created tracks to allow modifying the definition stored in the initialization segment file that is to be used by default.

In an embodiment, media segment files resulting from encapsulating each of the created tracks comprise a data structure for storing spatial subsamples.

media segment files resulting from encapsulating each of the created tracks comprise a data structure for storing extractors.

In an embodiment, at least one of the media segment files resulting from encapsulating each of the created tracks comprises initialization data stored in the reference track so that the at least one of the media segment files can be processed independently as a standard media segment file.

In an embodiment, at least one of the media segment files resulting from encapsulating each of the created tracks comprises a data structure for storing at least one extractor identifying initialization data stored in the reference track.

In an embodiment, at least one of the media segment files resulting from encapsulating each of the created tracks comprises a data structure for storing at least one extractor identifying initialization data of the composite track so that the at least one of the media segment files can be processed independently as a standard media segment file.

In an embodiment, the method further comprises a step of setting a flag indicating that the at least one of the media segment files can be processed independently as a standard media segment file.

In an embodiment, the method further comprises a step of creating at least one initialization data track comprising initialization data, the at least one initialization data track being independently encapsulated in at least one media segment file.

In an embodiment, at least one of the media segment files resulting from encapsulating each of the created tracks comprises a data structure for storing at least one extractor identifying initialization data stored in the initialization data track so that the at least one of the media segment files can be processed independently as a standard media segment file.

In an embodiment, the method further comprises a step of setting a flag indicating that the at least one of the media segment files can be processed independently as a standard media segment file.

In an embodiment, the server is compatible with the HyperText Transfer Protocol (HTTP).

In an embodiment, the media segment files resulting from encapsulating each of the created tracks are compatible with the Base Media File Format and the Dynamic Adaptive Streaming over HTTP format as defined by the International Standard Organization.

In an embodiment, the method of encapsulating partitioned timed media data in a server, the partitioned timed media data comprising timed samples, each timed sample comprising a plurality of spatial subsamples, comprises:

selecting at least one subsample from amongst the plurality of subsamples of one of the timed samples;

for each selected spatial subsample, creating one partition track comprising the selected subsample and one corresponding subsample of each of the other timed samples;

creating at least one reference track comprising information associating a first spatial subsample included in a first partition track and a second spatial subsample included in a second partition track; and

independently encapsulating each created track in at least one media segment file.

Such an embodiment may be combined with one or several of the previous embodiments disclosed above by reference to the first aspect of the invention.

A second aspect of the invention provides a method of providing a timed media data bit-stream from partitioned timed media data encapsulated in a plurality of media segment files, in a client device, the partitioned timed media data comprising timed samples, each timed sample comprising a plurality of subsamples, the plurality of media segment files comprising at least one reference track and at least one partition track, each of the at least one partition track comprising one subsample selected from amongst the plurality of subsamples of one of the timed samples and comprising one corresponding spatial subsample of each of the other timed samples, the at least one reference track comprising at least one extractor identifying at least one partition track and identifying at least one subsample of the identified partition track, the method comprising:

selecting an item of information representative of a subsample;

requesting the at least one partition track comprising the selected subsample, the selected subsample corresponding to the selected item of information;

receiving the plurality of media segment files; and

replacing extractors of the at least one reference track by corresponding identified subsamples to generate the timed media data bit-stream.

Accordingly, the invention enables the combination of different portions, and in particular of different tiles, and the creation of a valid file format and elementary stream at parsing time whatever the selected set of portions or tiles downloaded by a client device.

Therefore, the method of the invention is suitable for efficient streaming of independent portions or tiles, requires only useful data to be sent to a client device, is suitable for more than one portion or tile selection (i.e. arbitrary ROI), reduces indexation overhead (compared to byte-range requests), and can be integrated in a MPEG standard.

In an embodiment, the partitioned timed media data are tiled timed media data, the subsamples being spatial subsamples, the at least one partition track being at least one tile track, and the at least one reference track being at least one composite track.

In an embodiment, the partitioned timed media data are tiled timed media data, the subsamples being spatial subsamples, the at least one partition track being at least one tile track, and the at least one reference track being at least one composite track containing extractors and optionally initialization data.

In an embodiment, the method further comprises:

obtaining a track reference from an extractor of the at least one composite track;

checking whether or not the track corresponding to the obtained track reference has been received; and

if the track corresponding to the obtained track reference has not been received, removing corresponding extractor to generate the timed media data bit-stream.

In an embodiment, the method further comprises a step of verifying that the track corresponding to the obtained track reference is a track of tile type.

In an embodiment, the method further comprises:

obtaining a track reference from an extractor of the at least one composite track;

checking whether or not the track corresponding to the obtained track reference has been received; and

if the track corresponding to the obtained track reference has not been received, replacing corresponding extractor by padding to generate the timed media data bit-stream.

In an embodiment, the method further comprises a step of verifying that the track corresponding to the obtained track reference is a track of tile type.

In an embodiment, the method further comprises a step of receiving an initialization segment file comprising parameters allowing formation of a spatial portion of the tiled timed media data from the created tile tracks and the created at least one composite track.

In an embodiment, at least two media segment files representative of at least two tile tracks are received, the at least one composite track comprising at least one item of data that is to be used to decode any of two spatial subsamples belonging to the same set of spatial subsamples.

In an embodiment, the tiled timed media data are scalable tiled timed media data according to which each of the timed samples comprises a reference layer and at least one enhancement layer, the reference layer comprising at least one reference spatial subsample and the at least one enhancement layer comprising a plurality of enhancement spatial subsamples, and wherein at least two media segment files representative of at least two tracks are received, one of the at least two received tracks being a reference track comprising reference spatial subsamples and the other of the at least two received tracks being an enhancement tile track comprising enhancement spatial subsamples.

In an embodiment, the reference layer comprises a plurality of reference spatial subsamples and wherein a plurality of reference tracks, each forming a reference tile track, are received.

In an embodiment, at least one of the media segment files comprises a data structure for storing metadata including at least one definition of at least one group of subsamples of the corresponding track, the method comprising a step of obtaining the at least one definition for processing the at least one group of subsamples of the corresponding track.

In an embodiment, at least one of the media segment files comprises initialization data stored in the reference track, the method further comprising a step of processing independently the at least one of the media segment files as a standard media segment file.

In an embodiment, at least one of the media segment files comprises a data structure for storing at least one extractor identifying initialization data stored in the reference track, the method further comprising a step of accessing the data stored in the reference track when processing at least one of the media segment files.

In an embodiment, at least one of the media segment files comprises a data structure for storing at least one extractor identifying initialization data of the composite track, the method further comprising a step of accessing the data stored in the reference track for processing independently the at least one of the media segment files as a standard media segment file.

In an embodiment, the method further comprises a step of obtaining at least one initialization data track comprising initialization data, the at least one initialization data track being independently encapsulated in at least one media segment file.

In an embodiment, at least one of the media segment files comprises a data structure for storing at least one extractor identifying initialization data stored in the initialization data track, the method further comprising a step of accessing the data stored in the reference track for processing independently the at least one of the media segment files.

In an embodiment, the client device is compatible with the HyperText Transfer Protocol (HTTP).

In an embodiment, the received media segment files are compatible with the Base Media File Format and the Dynamic Adaptive Streaming over HTTP format as defined by the International Standard Organization.

According to a third aspect of the invention, there is provided a device comprising means adapted for carrying out each step of the method described above.

According to a fourth aspect of the invention, there is provided a device for encapsulating partitioned timed media data in a server, the partitioned timed media data comprising timed samples, each timed sample comprising a plurality of subsamples, the device comprising at least one microprocessor configured for carrying out the steps of:

selecting at least one subsample from amongst the plurality of subsamples of one of the timed samples;

for each selected subsample, creating one partition track comprising the selected subsample and one corresponding subsample of each of the other timed samples;

creating at least one reference track comprising at least one extractor identifying at least one of the created partition tracks; and

independently encapsulating each of the created tracks in at least one media segment file.

Accordingly, the invention enables the combination of different portions, and in particular of different tiles, and the creation of a valid file format and elementary stream at parsing time whatever the selected set of portions or tiles downloaded by a client device.

Therefore, the method of the invention is suitable for efficient streaming of independent portions or tiles, requires only useful data to be sent to a client device, is suitable for more than one portion or tile selection (i.e. arbitrary ROI), reduces indexation overhead (compared to byte-range requests), and can be integrated in a MPEG standard.

In an embodiment, the partitioned timed media data are tiled timed media data, the subsamples being spatial subsamples, the at least one partition track being at least one tile track, and the at least one reference track being at least one composite track.

In an embodiment, the partitioned timed media data are tiled timed media data, the subsamples being spatial subsamples, the at least one partition track being at least one tile track, and the at least one reference track being at least one composite track containing extractors and optionally initialization data.

In an embodiment, the microprocessor is further configured for carrying out the step of creating an initialization segment file comprising parameters allowing formation of a spatial portion of the tiled timed media data from the created tile tracks and the created at least one composite track, the initialization segment file comprising references to the created tile tracks.

In an embodiment, the initialization segment file further comprises a list of referenced tile tracks associated with the at least one created composite track.

In an embodiment, the initialization segment file further comprises a tile handler associated with each of the created tile tracks indicating that the track contains spatial subsample information.

In an embodiment, the initialization segment file further comprises general presentation information associated with each of the created tile tracks.

In an embodiment, the microprocessor is further configured so that at least two tile tracks are created in the step of creating one tile track for each selected spatial subsample, the at least one composite track comprising at least one item of data that is to be used to decode any of two spatial subsamples comprised within the same timed sample.

In an embodiment, the tiled timed media data are scalable tiled timed media data according to which each of the timed samples comprises a reference layer and at least one enhancement layer, the reference layer comprising at least one reference spatial subsample and the at least one enhancement layer comprising a plurality of enhancement spatial subsamples, the microprocessor being further configured so that tile tracks created in the step of creating one tile track for each selected spatial subsample are enhancement tile tracks comprising enhancement spatial subsamples, the microprocessor being further configured for carrying out the step of creating at least one reference track comprising reference spatial subsamples.

In an embodiment, the reference layer comprises a plurality of reference spatial subsamples and wherein the microprocessor is further configured so that a plurality of reference tracks are created, each reference track of the plurality of reference tracks forming a reference tile track.

In an embodiment, media segment files resulting from encapsulating each of the created tracks comprise a data structure for storing metadata including definitions of the corresponding track.

In an embodiment, media segment files resulting from encapsulating each of the created tracks comprise a data structure for storing spatial subsamples.

In an embodiment, media segment files resulting from encapsulating each of the created tracks comprise a data structure for storing extractors.

In an embodiment, the server is compatible with the HyperText Transfer Protocol (HTTP) and wherein the media segment files resulting from encapsulating each of the created tracks are compatible with the Base Media File Format and the Dynamic Adaptive Streaming over HTTP format as defined by the International Standard Organization.

In an embodiment, the device for encapsulating partitioned timed media data in a server, the partitioned timed media data comprising timed samples, each timed sample comprising a plurality of spatial subsamples, comprises:

a selecting unit configured to select at least one subsample from amongst the plurality of subsamples of one of the timed samples;

a first creation unit configured to create, for each selected spatial subsample, one partition track comprising the selected subsample and one corresponding subsample of each of the other timed samples;

a second creation unit configured to create at least one reference track comprising information associating a first spatial subsample included in a first partition track and a second spatial subsample included in a second partition track ; and

an encapsulating unit configured to encapsulate independently each created track in at least one media segment file.

Such an embodiment may be combined with one or several of the previous embodiments disclosed above by reference to the fourth aspect of the invention.

According to a fifth aspect of the invention there is provided a video encoder comprising the device as described above.

According to a sixth aspect of the invention, there is provided a device for device for providing a timed media data bit-stream from partitioned timed media data encapsulated in a plurality of media segment files, in a client device, the partitioned timed media data comprising timed samples, each timed sample comprising a plurality of subsamples, the plurality of media segment files comprising at least one reference track and at least one partition track, each of the at least one partition track comprising one subsample selected from amongst the plurality of subsamples of one of the timed samples and comprising one corresponding subsample of each of the other timed samples, the at least one reference track comprising at least one extractor identifying at least one partition track and identifying at least one subsample of the identified partition track, the device comprising at least one microprocessor configured for carrying out the steps of:

selecting an item of information representative of a subsample;

requesting the at least one partition track comprising the selected subsample, the selected subsample corresponding to the selected item of information;

receiving the plurality of media segment files; and

replacing extractors of the at least one reference track by corresponding identified subsamples to generate the timed media data bit-stream.

Accordingly, the invention enables the combination of different portions, and in particular of different tiles, and the creation of a valid file format and elementary stream at parsing time whatever the selected set of portions or tiles downloaded by a client device.

Therefore, the method of the invention is suitable for efficient streaming of independent portions or tiles, requires only useful data to be sent to a client device, is suitable for more than one portion or tile selection (i.e. arbitrary ROI), reduces indexation overhead (compared to byte-range requests), and can be integrated in a MPEG standard.

In an embodiment, the partitioned timed media data are tiled timed media data, the subsamples being spatial subsamples, the at least one partition track being at least one tile track, and the at least one reference track being at least one composite track.

In an embodiment, the partitioned timed media data are tiled timed media data, the subsamples being spatial subsamples, the at least one partition track being at least one tile track, and the at least one reference track being at least one composite track containing extractors and optionally initialization data.

In an embodiment, the microprocessor is further configured for carrying out the steps of:

obtaining a track reference from an extractor of the at least one composite track;

checking whether or not the track corresponding to the obtained track reference has been received; and

if the track corresponding to the obtained track reference has not been received, removing corresponding extractor to generate the timed media data bit-stream.

In an embodiment, the microprocessor is further configured for carrying out the step of verifying that the track corresponding to the obtained track reference is a track of tile type.

In an embodiment, the microprocessor is further configured for carrying out the steps of:

obtaining a track reference from an extractor of the at least one composite track;

checking whether or not the track corresponding to the obtained track reference has been received; and

if the track corresponding to the obtained track reference has not been received, replacing corresponding extractor by padding to generate the timed media data bit-stream.

In an embodiment, the microprocessor is further configured for carrying out the step of verifying that the track corresponding to the obtained track reference is a track of tile type.

In an embodiment, the microprocessor is further configured for carrying out the step of receiving an initialization segment file comprising parameters allowing formation of a spatial portion of the tiled timed media data from the created tile tracks and the created at least one composite track.

In an embodiment, the microprocessor is further configured so that at least two media segment files representative of at least two tile tracks are received, the at least one composite track comprising at least one item of data that is to be used to decode any of two spatial subsamples belonging to the same set of spatial subsamples.

In an embodiment, the tiled timed media data are scalable tiled timed media data according to which each of the timed samples comprises a reference layer and at least one enhancement layer, the reference layer comprising at least one reference spatial subsample and the at least one enhancement layer comprising a plurality of enhancement spatial subsamples, and wherein the microprocessor is further configured so that at least two media segment files representative of at least two tracks are received, one of the at least two received tracks being a reference track comprising reference spatial subsamples and the other of the at least two received tracks being an enhancement tile track comprising enhancement spatial subsamples.

In an embodiment, the client device is compatible with the HyperText Transfer Protocol (HTTP) and wherein the received media segment files are compatible with the Base Media File Format and the Dynamic Adaptive Streaming over HTTP format as defined by the International Standard Organization.

According to a seventh aspect of the invention there is provided a video decoder comprising the device as described above.

Since the present invention can be implemented in software, the present invention can be embodied as computer readable code for provision to a programmable apparatus on any suitable carrier medium. A tangible carrier medium may comprise a storage medium such as a floppy disk, a CD-ROM, a hard disk drive, a magnetic tape device or a solid state memory device and the like. A transient carrier medium may include a signal such as an electrical signal, an electronic signal, an optical signal, an acoustic signal, a magnetic signal or an electromagnetic signal, e.g. a microwave or RF signal.

BRIEF DESCRIPTION OF THE DRAWINGS

Further advantages of the present invention will become apparent to those skilled in the art upon examination of the drawings and detailed description. It is intended that any additional advantages be incorporated herein.

Embodiments of the invention will now be described, by way of example only, and with reference to the following drawings in which:

FIG. 1, comprising FIGS. 1a and 1 b, illustrates an example of coding tiles in an encoded video bit-stream;

FIG. 2 illustrates a temporal pipe of tiles selected by a user to be displayed;

FIG. 3 illustrates an example of block diagrams of an initialization segment file using scalable media data tracks according to a particular embodiment;

FIG. 4 illustrates an example of block diagrams of media segment files comprising tile tracks and one composite track, according to a particular embodiment, corresponding to tracks declared in an initialization segment file such as the one shown in FIG. 3;

FIG. 5 illustrates an example of concatenating downloaded media data segments to build a valid decodable timed media data bit-stream representing a spatial part of consecutive video frames for a given temporal period;

FIG. 6, comprising FIG. 6a and FIG. 6b , is a flow chart illustrating steps for transmitting timed media data between a server and a client device according to a particular embodiment;

FIG. 7 is a flow chart illustrating the generation of a valid timed media data bit-stream from concatenated media segments received by a client device; and

FIG. 8 represents a block diagram of a server or a client device in which steps of one or more embodiments may be implemented;

FIG. 9, comprising FIGS. 9a, 9b, and 9c , illustrates examples of tiles and slice segments in a HEVC bit-stream;

FIG. 10 illustrates an example of encapsulating a HEVC bit-stream as a set of tracks comprising a composite track and independent tile tracks, according to an embodiment of the invention;

FIG. 11 illustrates an example of block diagrams of an initialization segment file using media data tracks, according to a first embodiment, to encapsulate a HEVC bit-stream;

FIG. 12, comprising FIG. 12a and FIG. 12b , illustrates signalization of the position of a tile in a full video, the size of the tile, and of the indication that the tile track can be decoded without any artifact, at sub-sample level, adapted to handle various tiling configuration;

FIG. 13 illustrates an example of encapsulating a HEVC bit-stream as a set of tracks comprising a composite track and independent tile tracks that are playable as standard video tracks, according to an embodiment of the invention; and

FIG. 14 illustrates an example of encapsulating a HEVC bit-stream as a set of tracks comprising a composite track, an initialization data track, and independent tile tracks that are playable as standard video tracks, according to another embodiment of the invention.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

According to a particular embodiment, partitioned timed media data such as tiled timed media data (e.g. video data) comprising timed samples (e.g. images) are transmitted as a set of several timed media data tracks, typically a base layer track and several tile tracks, and a reference or composite track that comprises references to timed media data tracks. Each tile track comprises one spatial subsample (e.g. several NAL units) of several timed samples. An extended extractor type is defined for referencing timed media data tracks from a composite track. Timed media data tracks are labeled as not displayable and convey and describe timed media data for tiles. Such a set of timed media data tracks and a composite track allows the selecting, composing, and efficient streaming of spatial video tiles. Each track can be transmitted from a server device to a client device as a set of media segment files. An initialization segment file can be used to transmit metadata required to decode media segment files.

FIG. 1, comprising FIG. 1a and FIG. 1 b, illustrates an example of coding tiles in an encoded video bit-stream.

For the sake of illustration, it is considered in the following description that each video frame (timed sample) is composed of independently decodable tiles corresponding to spatial sub-parts (spatial subsamples) of the video frame. The video is preferably scalable and organized in different levels of scalability. As illustrated in FIG. 1 a, a video frame 100 may comprise an HD base layer (102) and a 4K2K enhancement layer (104). Still for the sake of illustration, enhancement layer 104 can be divided into four regular tiles denoted a, b, c, and d. It is to be noted that tiles of different shapes may be handled. Likewise, base layer 102 can be divided into several tiles. In such a case, several composite tracks can be used, for example one for the base layer and one for the enhancement layers or for each of the enhancement layers.

It is also to be noted that the invention is not limited to scalable video format. It can apply to all video formats allowing tiles to be decoded independently. Accordingly, any video compression algorithms like MPEG4, AVC, HEVC, SVC, or future SHVC can be used in conjunction with an embodiment of the invention.

FIG. 1b represents a typical encoded video bit-stream in a decoding order. As illustrated, the encoded video bit-stream comprises here three video frames (110, 112, and 114) encoded in a temporal order. Each video frame comprises all the network abstraction layer (NAL) units of the base layer (BL) followed by the NAL units of the enhancement layer. For example, the NAL units (1BL, 116) of the base layer (102-1) of the first video frame (110) are followed by the NAL units (1 common, 1 a, 1 b, 1 c, 1 d, 118) of the enhancement layer (104-1) of the first video frame.

The part of the video bit-stream corresponding to an enhancement layer with spatial tiles is composed of NAL units of each tile. Optionally, it may also contain NAL units that are common to all tiles and that are required to decode any of the tiles. The NAL units that are common to all tiles of a given frame can be located anywhere in the corresponding part of the video bit-stream (i.e. before, between, or after the NAL units of the tiles of the video frame).

As illustrated, the part of the video bit-stream corresponding to the enhancement layer of the first video frame (110), comprising spatial tiles a, b, c, and d, is composed of NAL units for each tile (1 a, 1 b, 1 c, and 1 d) and of NAL units (1 common) that are common to all tiles a, b, c, and d.

FIG. 2 illustrates a temporal pipe of tiles selected by a user to be displayed. More precisely, FIG. 2 represents a first video frame n and a second video frame n+m (where n and m are integer values), each of the first and second video frames comprising twelve tiles numbered 1 to 12. Amongst these twelve tiles, only the third and seventh ones are to be displayed (as denoted with bold lines). Video frames n and n+m belong to a series of consecutive frames corresponding to a given temporal period. Therefore, the third and seventh tiles of each frame from frame n to frame n+m are displayed consecutively.

As illustrated in FIG. 1, the data of a video bit-stream are organized as temporal samples that correspond to full frames. Accordingly, it is required to access several small byte ranges for each frame when particular spatial areas of these frames are to be accessed during a given period of time as described above by reference to FIG. 2. This is inefficient in HTTP streaming in terms of the number of generated requests and in terms of data overhead.

Therefore, to provide a more efficient access in compressed videos for ROI streaming, the timed media data bit-stream is to be reorganized so that data of a particular tile are organized as a contiguous byte range (forming a pipe) for a given time period (i.e. a set of consecutive frames).

Accordingly, when only a spatial sub-part of video frames is to be displayed, only pipes of tiles corresponding to the selected spatial area must be downloaded (for instance tiles 3 and 7 in FIG. 2) using one HTTP request per pipe and per time period.

FIG. 3 illustrates an example of block diagrams of an initialization segment file using media data tracks according to a particular embodiment.

The initialization segment file illustrated in FIG. 3 and the media segment files illustrated in FIG. 4 illustrate an embodiment of the invention to reorganize and encapsulate a video bit-stream in ISO Base Media File Format while several tracks are streamed independently. For the sake of illustration, the content of FIGS. 3 and 4 are based on the video bit-stream illustrated in FIG. 1.

To reorganize and encapsulate a video bit-stream in ISO BMFF while several tracks are streamed independently, a new type of track called tile track is defined. A tile track is a track that is, by definition, a timed sequence of related samples where a sample represents all the data associated with a single timestamp. Contrary to a known video media track where a sample is typically an individual video frame, a sample of a tile track defines a spatially-defined sub-part of a full video frame. Accordingly, tile tracks only contain NAL units related to a given tile. In this way, it is possible to create pipes of tiles with contiguous byte ranges by storing each track in independent segment files.

However, since a tile track does not contain all the required NAL units and information to be decoded and played, an additional track called “composite track” is used. According to a particular embodiment, a composite track is a media track representing a complete tiled frame (i.e. the composition of all tiles). A composite track is the representation of an encoded timed media data bit-stream in its typical organization as described by reference to FIG. 1 (frame by frame in decoding order). The composite track uses extractor objects to refer to NAL units in their respective tile tracks. In addition it may contain NAL units that are common to all tiles if such NAL units exist.

According to a particular embodiment, an initialization segment file is used to transmit all the metadata that are necessary to define timed media data bit-streams encapsulated in other media segment files. As illustrated in FIG. 3, the initialization segment file 300 contains a file type box “ftyp” 302 and a movie box “moov” 304. File type box 302 preferably identifies which ISO BMF specifications the segment files comply with and indicates a version number of that specification. Movie box “moov” 304 provides all the metadata describing the presentation stored in media segment files and in particular all tracks available in the presentation.

Movie box “moov” 304 contains a definition for each of the tracks (“track” boxes 306-1 to 306-6) corresponding to the scalable video bit-stream provided as an example in FIG. 1.

Track box 306-1 represents the base layer (track_ID=1), the four track boxes 306-2 to 306-5 (track boxes 306-3 and 306-4 not being shown) represent the four tiles a, b, c, and d of the enhancement layer (track_ID=2 to 5), and track box 306-6 represents a composite track describing the enhancement layer (track_ID=6).

Each track box contains at least a track header box “tkhd”, generically referenced 308, and a track media box “mdia” generically referenced 310. If a track depends on data from other tracks, there is also a track reference box “tref”. As illustrated, the composite track having the identifier track_ID=6 comprises track reference box “tref” 312 indicating that the track depends on data from tracks having the identifiers track_ID=1 to 6.

It is to be noted that other boxes may be mandatory or optional depending on ISO BMFF specifications used to encapsulate the timed media data bit-stream. However, since embodiments of the invention do not rely on these boxes to be applicable, they are not presented here.

Track header box “tkhd” 308 specifies the characteristics of the track. Among several items of information, it provides the track's identifier (track_ID), the track's duration, and/or the track's visual presentation size (i.e. width and height of the display area). It also comprises a flag parameter that indicates whether or not the track is playable.

According to an embodiment, the default value of the track header flag for tile tracks is 0 (track_enabled=0, track_in_movie=0, track_in_preview=0), meaning that tile tracks are ignored for local playback and preview by a client device. In another embodiment, a new track header flag can be created to signal that the track is a tile track.

Track media box “mdia” 310 can be seen as a container containing all the objects used to declare parameters of timed media data within a track. It contains at least a media header box “mdhd” generically referenced 314, a handler reference box “hdlr” generically referenced 316, and a media information box “minf” generically referenced 318.

Handler reference box “hdlr” 316 declares the process by which the timed media data of the track is to be presented and thus, the nature of the timed media data in the track. For example, a video track would be handled by a video handler (noted with the handler type attribute equal to ‘vide’). A video sample can be described by the use of an object of the VisualSampleEntry( )type. According to a particular embodiment, a new handler type, called a tile handler (noted with the handler type attribute equal to ‘tile’), is defined to indicate that the track contains spatial subsample information. Depending on the coding format, if an object of the VisualSampleEntry( ) type cannot describe a sample in a tile track, it is possible to define a specific object of the TileSampleEntry( )type to describe the sample.

Media information box “minf” 318 contains all the objects that define characteristic information of the timed media data in the track. For instance, for the base layer and for the enhancement layer defined in the composite track, the “minf” box may contain a standard video media header box “vmhd” (320).

Regarding tile tracks, a specific box referred to as Tile Media Header Box (tmhd, 322), corresponding to the new tile handler, is used to define general presentation information, independent of the coding, for tiles. In particular, it may contain the geometry information of the spatial area covered by the tile relative to the video resolution represented by the composite video track, which can be defined as follow:

aligned(8) class TileMediaHeaderBox extends FullBox(‘tmhd’, version = 0, 0) { unsigned int(16) horizontal_offset; unsigned int(16) vertical_offset; }

As described previously, the composite track comprises specific track reference box “tref” 312 that provides typed reference to another track in the presentation. According to a particular embodiment, such typed references may comprise a “tile” reference (324) that can be used to establish a link from the composite track to the tile track that it refers to and a “scal” reference (326) that can be used to establish a link from the track containing this reference to the timed media data track that it depends on (e.g. the base layer track (track_ID=1)).

FIG. 4 illustrates an example of block diagrams of media segment files comprising tile tracks and one composite track, according to a particular embodiment, corresponding to tracks declared in an initialization segment file such as the one shown in FIG. 3. As described previously, the initialization segment file illustrated in FIG. 3 and the media segment files illustrated in FIG. 4 illustrate an embodiment of the invention to reorganize and encapsulate a video bit-stream in ISO Base Media File Format while several tracks are streamed independently.

As illustrated in FIG. 4, each of media segment files 400-1 to 400-6 (media segment files 400-3 to 400-5 being not shown) comprises, as specified in the DASH standard, a segment type box “styp” generically referenced 402, at least one movie fragment box “moof” generically referenced 404, and at least one media data box “mdat” generically referenced 406. A media segment file is associated with an HTTP-URL.

It is to be noted that other boxes may be mandatory or optional depending on ISO BMFF specifications used to encapsulate the timed media data bit-stream. However, since embodiments of the invention do not rely on these boxes to be applicable, they are not presented here.

The format of segment type box “styp” 402 is similar to the one of file type box “ftyp” 302 in FIG. 3 however, its reference indicates that the file is a media segment file.

Movie fragment box 404 provides the information that is generally stored within the movie box “moov”. Its header (“mfhd”) contains a sequence number (labeled seq_num in FIG. 4) that increases for each movie fragment. Such a sequence number allows a client device to concatenate received segment files in increasing order and to verify integrity of the sequence (if necessary). The movie fragment box 404 contains a track fragment box “traf” (generically referenced 408) for each track having data in an associated media data box (“mdat”, 406). Track fragment box 408 comprises a track fragment header box “tfhd”, generically referenced 410, that is used to store an identifier (track_ID) of the track's bit-stream present in the corresponding media data box ((“mdat”, 406).

A media data box generally contains timed media data. In standard video tracks, it contains video frames. In tile tracks, media data box 406 contains spatially-defined sub-parts of complete video frames. For the sake of illustration, the media data box associated with track identifier track_ID=2 contains all NAL units corresponding to the tile of the enhancement layer.

In a composite track (track_ID=6 in FIG. 4), media data box 406 contains extractors (labeled E in FIG. 4) for each tile and for each dependent layer and contains NAL units common to all tiles (if any).

As illustrated in FIG. 4, the media data box 406 of media segment file 400-6 associated with a composite track comprises, in particular:

a first extractor 412-1 that provides a link to base layer data (NAL units 1BL) encoded within a base layer track stored in the media data box 406 of media segment file 400-1 associated with a base layer track;

NAL units 412-2 that are common to several tiles;

a second extractor 412-3 that provides a link to enhancement layer data (NAL units 1 a) of a first tile encoded within media data box 406 of media segment file 400-2 associated with a first tile track of the enhancement layer;

a third extractor 412-4 that provides a link to enhancement layer data (NAL units, 1 b) of a second tile encoded within media data box 406 of media segment file 400-3 (not shown) associated with a second tile track of the enhancement layer;

a fourth extractor 412-5 that provides a link to enhancement layer data (NAL units, 1 c) of a third tile encoded within media data box 406 of media segment file 400-4 (not shown) associated with a third tile track of the enhancement layer; and

a fifth extractor 412-6 that provides a link to enhancement layer data (NAL units, 1 d) of a fourth tile encoded within media data box 406 of media segment file 400-5 (not shown) associated with a fourth tile track of the enhancement layer.

NAL units that may be obtained thanks to extractor 412-1 allow the decoding of a base layer of a frame whose enhancement layer may be fully decoded using NAL units 412-2 and NAL units that may be obtained thanks to extractors 412-3 to 412-6. As can be observed from FIG. 4, if only a spatial part of a frame is to be decoded, it is not necessary to download all media segment files 400-2 to 400-5 (i.e. bit-streams corresponding to tile tracks).

According to a particular embodiment, an extractor is a file format internal structure having the following syntax:

class aligned(8) Extractor ( ) { NALUnitHeader( ); unsigned int(8) track_ref_index; signed int(8) sample_offset; unsigned int((lengthSizeMinusOne+1)*8) data_offset; unsigned int((lengthSizeMinusOne+1)*8) data_length; }

where NALUnitHeader( )represents the first four bytes of a NAL unit compliant with the coding format used to encode the video bit-stream. These four bytes identify the NAL unit as an extractor (e.g., in SVC the attribute nal_unit_type is set to the extractor NAL unit type (type 31)).

The value track_ref_index specifies the index to be used, in the track reference box “tref” of type ‘scal’ or ‘tile’ of a composite track, for finding the track from which data are to be extracted. The value sample_offset gives the relative index of the sample in the linked track that is to be used as the source of information. The values data_offset and data_length are the offset of the first byte within the reference sample to copy and the number of bytes to copy, respectively.

For the sake of illustration and with reference to FIG. 3, if the value of track_ref_index of a given extractor is equal to 2, this means that the extractor references the track identified by the second entry in the tref box (i.e. track having identifier track_ID=2, that is the tile track for tile a, the first index representing the reference track (e.g. base layer)).

FIG. 5 illustrates an example of concatenating downloaded media data segments to build a valid decodable timed media data bit-stream representing a spatial part of consecutive video frames for a given temporal period (corresponding here to two consecutive frames). The same figure could be repeated for other temporal periods.

As described with reference to FIGS. 3 and 4, a timed tiled media data bit-stream is preferably transmitted as a set of data comprising one initialization segment file and a plurality of media segment files, the latter comprising several tile tracks and one composite track.

The initialization segment file comprises a movie box (“moov”) that provides general information on each track, in particular the type of track (e.g. media track (audio or video) or tile track), a coding format, a frame resolution and the dependence among tracks (given in a track reference box “tref”). These data are used to process downloaded media segment files. Referring to the example described with reference to FIGS. 1, 3, and 4, the content of the movie box of the initialization segment file can comprise, in particular, the following:

MOOV

-   -   track 1: base layer     -   track 2: tile a     -   track 3: tile b     -   track 4: tile c     -   track 5: tile d     -   track 6: enhancement layer         -   tref (scal): track ID=1         -   tref(tile): track ID=2             -   track ID=3             -   track ID=4             -   track ID=5

FIG. 5 roughly illustrates the file format obtained by concatenating media segments when only required media segment files (corresponding here to the base layer and tiles a and c in the enhancement layer) are downloaded from a server. It is to be noted that not only does such a mechanism allow downloading of only the required media segment files but it also prevents downloading of duplicate data.

As illustrated, composite track 500 allows the building of a valid decodable timed media data bit-stream 502 by referencing data from base layer track 504 (in case of scalability) and from non-playable tile tracks (506 and 508) and by handling appropriately extractors referencing missing data (as described by reference to FIG. 7).

The obtained file format is compliant with scalable file format definition. For example, a client device can decide to play only the base layer by selecting the base layer track or the enhancement layer with the chosen tiles a and c by selecting the composite track. The client device can also change the tiles to be displayed by downloading different “tile tracks” (i.e. media segment files) in a later temporal period while it continues to play the composite track.

FIG. 6, comprising FIG. 6a and FIG. 6 b, is a flow chart illustrating steps for transmitting timed media data between a server and a client device according to a particular embodiment. Steps shown in FIG. 6a are implemented within the server to prepare a media presentation by creating segment files adapted to ROI streaming from a tiled timed media data bit-stream while steps shown in FIG. 6b are implemented within the client device.

In a first step (step 600), the server identifies all NAL units that are associated with the tiles and, for each tile, creates a tile track containing sub-samples composed of all NAL units corresponding to the given tile. For example, the server may rely on sub-picture level SEI messages to identify the association of NAL units with different regions and on sequence-level SEI messages for identifying the position and size of each ROI as it has been proposed in HEVC standardization (proposal JCTVC-K0128). Accordingly, the server can create pipes of tiles for given periods of time.

In a following step (step 602), the server creates a composite track containing extractors linked to lower level scalability tracks (if any), NAL units common to all tiles, and extractors linked to each tile track. Extractors and common NAL units are advantageously ordered such that replacing the extractors by the data they are referencing results in a valid timed media data bit-stream composed of complete samples in decoding order (as described with reference to FIG. 1).

Next, in step 604, the server generates and stores an initialization segment file and media segment files containing temporal period according to the ISO BMFF representation, as described with reference to FIGS. 3 and 4. All the timed media data tracks (e.g. video tracks), composite tracks, and tile tracks are stored in separate media segment files.

The server then serves, on request, the initialization and media segment files to a client device (step 606). The server may be a conventional HTTP server that responds to HTTP requests.

In the context of HTTP streaming and in a preferred embodiment, it is assumed that the client device has access to a manifest file describing the media presentation available from the server. This manifest file provides sufficient information (media properties and a list of segments) for the client device to stream the media presentation by first requesting the initialization segments and then media segment files from the server.

Upon selection of a ROI at the client device end, typically on a display with selecting means such as a pointing device, during the streaming of a tiled video, the tiles corresponding to the selected ROI are determined (step 608).

Next, for each temporal period, in case of scalable media data, the client device sends a request to the server to download the segment files corresponding to dependent layers (step 610). According to a particular embodiment, the layers that are depended from are downloaded before the layers depending from those depended from layers. For example, base layer segment files are downloaded before enhancement layer segment files.

In a following step, the client device sends a request to the server to download the media segment files corresponding to selected tiles (step 612) and sends a request to the server to download the media segment files corresponding to the composite track (step 614).

Next, the downloaded segment files are concatenated by the client device to build a valid (decodable) timed media data bit-stream conforming to the ISO BMFF standard (step 616), corresponding to the selected ROI.

Step 616 is described in details with reference to FIG. 7.

FIG. 7 is a flow chart illustrating the generation of a valid timed media data bit-stream from concatenated media segments received by a client device, that is to say the generation of a decodable bit-stream from selected tiles and one composite track when the composite track is played by the client device.

In a first step (step 700), the client device receives the media segment files that have been previously requested (e.g. steps 612, 614, and 616 in FIG. 6) and a test is performed to determine whether or not at least one media segment file has been received (step 702). If no media segment file has been received, the process ends.

If at least one media segment file has been received and if the received media segment files do not contain a composite track (i.e. they contain dependent tracks, e.g. lower level layer or tile tracks), they are buffered for later usage.

On the contrary, if at least one media segment has been received and if the received media segment file contains a composite track, the bit-stream (typically NAL units) corresponding to the composite track is parsed to extract the first item of data (or the next item of data if at least one item of data of the received media segment has been processed, typically a NAL unit) from the media data box “mdat” of the received media segment (step 704). If there is no further item of data to parse in the media data box, the process returns to step 700 to receive new media segment files (step 706).

Next, a test is performed to determine whether or not the extracted item of data (e.g. extracted NAL unit) corresponds to an extractor (step 708). If the extracted item of data does not correspond to an extractor, it is returned as is to be further decoded by a video decoder (step 710). On the contrary, if the extracted item of data is an extractor, it must be replaced by the item of data it is referencing. To that end, the values of the extractor's parameters are obtained from its structure (step 712). As described above, an extractor comprises all the parameter values required to extract data from another track (e.g., track_ref_index, sample_offset, data_offset, and data_length).

Once the identifier of the referenced track has been identified, a test is performed (step 714) to determine whether or not the referenced track is available in the set of media segment files buffered during step 700. It is to be recalled that some tile tracks are missing since the client device downloads only the media segment files corresponding to the selected Region-of-Interest.

If the referenced track is available in the set of media segment files buffered during step 700, the extractor is replaced by the data it is referencing (step 716) and the bit-stream is sent to a video decoder to be decoded (step 710).

If the referenced track is not available in the set of media segment files buffered during step 700, specific steps have to be performed since the absence of data referenced in an extractor leads to a fatal error according to the ISO BMF standard. A test is performed to determine whether or not the referenced track is a tile track (the referenced track can correspond to a dependent scalability layer) and whether or not the extractor is of the tile type (step 718).

If the referenced track is not a tile track or if the extractor is not of the tile type, a standard fatal error is detected. On the contrary, if the referenced track is a tile track and if the extractor is of the tile type, the extractor is removed (step 722) or the extractor is replaced by padding from an alternative “padding track” or “padding box” containing ‘skipped’ data for the missing tiles (step 724), depending on the coding format used to encode the timed media data bit-stream (step 720). Here, ‘skipped’ data represent pixel data missing in a current image that are replaced by other pixel data obtained from a previously decoded image either belonging to a same scalable layer or belonging to another scalable layer. ‘Skipped data are generally represented by at least one flag. For example, when considering HEVC video compression format, the padding data can be one or more NALUs that exclusively contain coding units encoded with a skip flag set to 1.

Next, the bit-stream is transmitted to a video decoder to be decoded (step 710) and displayed and the process loops to step 704 to handle a following item of data.

FIG. 8 represents a block diagram of a server or a client device 800 in which steps of one or more embodiments may be implemented.

Preferably, the device 800 comprises a communication bus 802, a central processing unit (CPU) 804 capable of executing instructions from program ROM 806 on powering up of the device, and instructions relating to a software application from main memory 808 after the powering up. The main memory 808 is for example of Random Access Memory (RAM) type which functions as a working area of CPU 804 via the communication bus 802, and the memory capacity thereof can be expanded by an optional RAM connected to an expansion port (not illustrated). Instructions relating to the software application may be loaded to the main memory 808 from a hard-disc (HD) 810 or the program ROM 806 for example. Such software application, when executed by the CPU 804, causes the steps described with reference to FIGS. 6a to be performed in the server and the steps described with reference to FIGS. 6b and 7 to be performed in the client device.

Reference numeral 812 is a network interface that allows the connection of the device 800 to the communication network 814. The software application when executed by the CPU 804 is adapted to react to requests received through the network interface and to provide data streams and requests via the network to other devices.

Reference numeral 816 represents user interfaces to display information to, and/or receive inputs from, a user.

It should be pointed out here that, as a variant, the device 800 for managing the reception or sending of multimedia bit-streams can consist of one or more dedicated integrated circuits (ASIC) that are capable of implementing the method as described with reference to FIGS. 6 a, 6 b and 7. These integrated circuits are for example and non-restrictively, integrated into an apparatus for generating or displaying video sequences and/or for listening audio sequences.

As described above, an embodiment of the invention can apply, in particular, to the video format known as HEVC.

According to HEVC standard, images can be spatially divided in tiles, slices, and slice segments. In this standard, a tile corresponds to a rectangular region of an image that is defined by horizontal and vertical boundaries (i.e., rows and columns). It contains an integer number of Coding Tree Units (CTU). Therefore, tiles can be efficiently used to identify regions of interest by defining, for example, positions and sizes for regions of interest. However, the structure of a HEVC bit-stream as well as its encapsulation as Network Abstract Layer (NAL) units are not organized in view of tiles but are based on slices.

In HEVC standard, slices are sets of slice segments, the first slice segment of a set of slice segments being an independent slice segment, that is to say a slice segment that general information stored within a header does not refer to the one of another slice segment. The other slice segments of the set of slice segments, if any, are dependent slice segments (i.e. slice segments that general information stored within a header refers to the one of an independent slice segment).

A slice segment contains an integer number of consecutive (in raster scan order) Coding Tree Units. Therefore, a slice segment can be of a rectangular shape or not and so, it is not suited to represent a region of interest. It is encoded in a HEVC bit-stream under the form of a slice segment header followed by slice segment data. Independent and dependent slice segments differ by their header: since a dependent slice segment depends on an independent slice segment, the amount of information of its header is smaller than the one of an independent slice segment. Both independent and dependent slice segments contain a list of entry points in the corresponding bit-stream that are used to define tiles or as entropy decoding synchronization points.

FIG. 9, comprising FIGS. 9 a, 9 b, and 9 c, illustrates examples of tiles and slice segments. More precisely, FIG. 9a illustrates an image (900) divided in nine portions by vertical boundaries 905-1 and 905-2 and horizontal boundaries 910-1 and 910-2. Each of the nine portions referenced 915-1 to 915-9 represents a particular tile.

FIG. 9b illustrates an image (900′) containing two vertical tiles delimited by vertical boundary 905′. Image 900′ comprises a single slice (not referenced) containing five slice segments, one independent slice segment 920-1 (represented with hatched lines) and four dependent slice segments 920-2 to 920-5.

FIG. 9c illustrates an image (900″) containing two vertical tiles delimited by vertical boundary 905″. The left tile comprises two slices: a first slice containing one independent slice segment (920′-1) and one dependent slice segment (920′-2) and a second slice also containing one independent slice segment (920′-3) and one dependent slice segment (920′-4). The right tile comprises one slice containing one independent slice segment (920′-5) and one dependent slice segment (920′-6).

According to HEVC standard, slice segments are linked to tiles according to rules that may be summarized as follows (one or both conditions have to be met):

all CTUs in a slice segment belong to the same tile (i.e. a slice segment cannot belong to several tiles); and

all CTUs in a tile belong to the same slice segment (i.e. a tile may be divided into several slice segments provided that each of these slice segments only belongs to that tile).

For the sake of clarity, it is considered in the following that one tile contains one slice having only one independent slice segment. However, embodiments of the invention can be carried out with other configurations like the ones illustrated in FIGS. 9b and 9 c.

As mentioned above, while tiles can be considered as an appropriate support for regions of interest, slice segments are the entities that are actually put in NAL units for transport over a communication network and aggregated to form access units (i.e. coded picture or samples at file format level).

It is to be recalled that according to HEVC standard, the type of a NAL unit is encoded in two bytes of the NAL unit header that can be defined as follows:

nal_unit_header ( ) { forbidden_zero_bit nal_unit_type nuh_layer_id nuh_temporal_id_plus1 }

NAL units used to code slice segments comprise slice segment headers indicating the address of the first CTU in the slice segment thanks to a slice segment address syntax element. Such slice segment headers can be defined as follows:

slice_segment_header ( ) { first_slice_segment_in_pic_flag if(nal_unit_type >= BLA_W_LP && nal_unit_type <= RSV_IRAP_VCL23) no_output_of_prior_pics_flag slice_pic_parameter_set_id if(!first_slice_segment_in_pic_flag){ if(dependent_slice_segments_enabled_flag) dependent_slice_segment_flag slice_segment_address } If(!dependent_slice_segment_flag){ [...]

Tiling information is provided in a PPS (Picture Parameter Set) NAL unit. The relation between a slice segment and a tile can then be deduced from these parameters.

While spatial predictions are reset on tile borders (by definition), nothing prevents a tile to use temporal predictors from a different tile in the reference frame(s). Accordingly, to build independent tiles, motion vectors for the prediction units are advantageously constrained inside a tile, during encoding, to remain in the co-located tile in the reference frame(s). In addition, the in-loop filters (deblocking and sample adaptive offset (SAO) filters) are preferably deactivated on the tile borders so that no error drift is introduced when decoding only one tile. It is to be noted that such a control of the in-loop filters is available in HEVC standard. It is set in slice segment header with a flag known as loop filter across tiles enabled flag. By explicitly setting this flag to zero, the pixels at the tile borders cannot depend on pixels that fall on the border of the neighbor tiles. When these two conditions relating to motion vectors and to in-loop filters are met, tiles can be considered as “independently decodable tiles” or “independent tiles”.

When a video bit-stream is encoded as a set of independent tiles, it then enables a tile-based decoding from one frame to another without any risk for missing reference data or propagation of reconstruction errors. This configuration then enables to reconstruct only a spatial part of the original video that can correspond, for example, to the region of interest illustrated in FIG. 2 (comprising tiles 3 and 7). Such a configuration can be indicated as supplemental information in a video bit-stream so as to indicate that tile-based decoding is reliable.

According to an embodiment of the invention, an efficient access to tiles in the context of HTTP streaming is provided by using the ISO BMFF file format applied to HEVC standard. Accordingly, each of the independent tiles to be coded (e.g. each of the twelve tiles represented in FIG. 2) is represented by a specific track called a “tile track” as described below be reference to FIG. 10.

These tile tracks are referenced (via a track reference box ‘tref’ of a movie box ‘moov’ containing a definition for each of the tracks) in a composite track that corresponds to the HEVC bit-stream in full-frame as illustrated in FIG. 10. Each tile track contains compressed video data, packaged in NAL units. The composite track contains various parameter sets (e.g. video parameter set, sequence parameter set, and/or picture parameter set) corresponding to initialization data. It also contains extractors that are NAL units of a specific type.

As described above, an extractor can be a file format internal structure having the following syntax:

class aligned(8) Extractor ( ) { NALUnitHeader( ); unsigned int(8) track_ref_index; signed int(8) sample_offset; unsigned int((lengthSizeMinusOne+1)*8) data_offset; unsigned int((lengthSizeMinusOne+1)*8) data_length; }

Extractor act as pointers or references to data from other tracks and enable building compact tracks with references to dependent tracks instead of data duplication in both tracks. An extractor preferably uses the NAL unit syntax. Accordingly, it comprises a header having the same structure as NAL unit header, comprising, in particular, information pertaining to the NAL unit type. This NAL unit type is set, for example, to the value ‘47’ currently corresponding to a reserved NAL unit type in HEVC. The header is followed by an index (denoted track_ref_index) in the track reference box (tref) that allows retrieving the entry of the tref box that contains the identifier of the track (track_id) corresponding to the track that is referenced by the extractor. A third parameter is a time offset of the sample (sample_offset) that is referenced by the extractor in comparison to the current sample. The fourth and fifth parameters (denoted data_offset and data_length) respectively provide position (preferably in bytes) from where to copy and the amount of data to copy (the value 0 is reserved to indicate the copy of the whole referenced NAL unit).

FIG. 10 illustrates an example of encapsulating a HEVC bit-stream as a set of tracks comprising a composite track and independent tile tracks, according to an embodiment of the invention. For the sake of illustration, the encapsulated bit-stream corresponds to the video sequence schematically illustrated in FIG. 2.

As illustrated, the encapsulated bit-stream 1000 comprises an initialization segment file 1005 containing a movie box (‘moov’) providing a definition for tracks and media segment file 1010 representing a composite track 1015 and twelve tile tracks 1020-1 to 1020-12 (each of the tile tracks 1020-1 to 1020-12 being associated to one tile of the video sequence).

Composite track 1015 comprises, as specified in the DASH standard, a segment type box ‘styp’ (not represented), at least one movie fragment box ‘moof’ 1025 comprising metadata such as a track segment type and an identifier, and at least one media data box “mdat” 1030 comprising, for each video data samples, PPS and references to video data.

Similarly, each of the tile tracks 1020-1 to 1020-12 comprises a segment type box “styp” (not represented), at least one movie fragment box “moof” comprising metadata such as a track segment type and an identifier, and at least one media data box “mdat” comprising compressed video data packaged in NAL units (NALUs).

Tile tracks 1020-1 to 1020-12, having identifier 2 to 13, are referenced in track reference box “tref” 1035 of initialization segment file 1005 (more precisely of the movie box “moov” of the initialization segment file 1005, in the definition of the composite track having identifier id=1).

As illustrated, composite track 1015 comprises extractors acting as pointers or references to data from other tracks. For the sake of illustration, several parameters amongst which an index of a tile track (track_ref_index), a data offset (data_offset), and a data length (data_length) corresponding to extractors 1035-1 and 1035-p of composite track 1015 are represented.

Still for the sake of illustration, when NAL unit 1035-1 of composite track 1015 is processed, it is determined that it represents a NAL unit of the extractor type (NALUnitHeader equals to the hexadecimal value 5E00). Accordingly, it is processed in order to recover corresponding compressed video data. To that end, its tile track index (i.e. track_ref_index=1) is obtained. From this index, it is possible to recover a tile track identifier from the tile track definitions stored in the initialization segment file 1005. In the given example, since the index is equal to one, the first tile track identifier of the tref box is selected (id=2). Next, this identifier is used to access the corresponding tile track and then, using data offset (i.e. a relative index of a sample in the identified track that is to be used as the source of information) and data length (i.e. the number of bytes to copy, for example the whole NALU when data_length=0) parameters of extractor 1035-1, compressed video data are extracted from tile track 1020-1 (i.e. coded slice segment NALU 1040 in the given example).

After having been processed an extractor is replaced by the data it references. According to the example illustrated in FIG. 10, the parsing and processing of extractor 1035-1 lead to its replacement by the coded slice segment NALU 1040, thus forming a HEVC compliant bit-stream.

It is to be noted that the semantic used for storing parameters of a HEVC extractor can be close to the one defined in the SVC standard. Accordingly, for an extractor referencing HEVC NAL units, the following can apply:

the parameter known as forbidden_zero_bit is set as specified in ISO/IEC 23008-2;

the parameter known as nal_unit_type is set to 47 (reserved code in current FDIS);

the parameters known as nuh_layer_id and nuh_temporal_id_plus1 are copied from the first NALU referenced by the extractor (an extractor in a HEVC track referencing HEVC NAL units does not reference several NAL units with different nuh_layer_id and nuh_temporal_id_plus1 values); and

the parameter known as sample_offset is set to 0.

According to embodiments of the invention, tile tracks are to be considered as particular tracks used to support the indexation of spatially arranged data (e.g. HEVC tiles). Therefore, specific signaling is required for each track to indicate, in particular, the position of the tile in the full video (horizontal and vertical coordinates) and the size of the tile (width and height) and to provide information to indicate whether or not that the tile track can be decoded without any artifact. Such a signalization can be achieved according to several embodiments.

According to a particular embodiment illustrated in FIG. 11, similar to the one described above, signaling can be done at track level.

FIG. 11 illustrates an example of block diagrams of an initialization segment file using media data tracks, according to a first embodiment, to encapsulate a HEVC bit-stream. It is based on the example described by reference to FIG. 10.

The initialization segment file 1100 and media segment files (not represented) are used to reorganize and encapsulate a video bit-stream conforming to the HEVC standard in ISO Base Media File Format. Tracks are streamed independently.

As described above, the initialization segment file is used to transmit all the metadata that are necessary to define timed media data bit-streams encapsulated in other media segment files. As illustrated in FIG. 11, initialization segment file 1100 contains a file type box ‘ftyp’ 1105 and a movie box ‘moov’ 1110. File type box 1105 preferably identifies which ISO BMF specifications the segment files comply with and indicates a version number of that specification. Movie box ‘moov’ 1110 provides all the metadata describing the presentation stored in media segment files and in particular all tracks available in the presentation.

Movie box 1110 contains a definition for each of the tracks (‘track’ boxes 1115-1 to 1115-13) comprising, in the given example, one composite track (1115-1) and twelve tile tracks (1115-2 to 1115-13).

Each track box contains at least a track header box ‘tkhd’, generically referenced 1120, and a track media box ‘mdia’ generically referenced 1125. If a track depends on data from other tracks, there is also a track reference box ‘tref’. As illustrated, the composite track having the identifier track_ID=1 comprises track reference box ‘tref’ 1130 indicating that the track depends on data from tile tracks having the identifiers track_ID=2 to 13.

As mentioned above, it is to be noted that other boxes may be mandatory or optional depending on ISO BMFF specifications used to encapsulate the timed media data bit-stream. However, since embodiments of the invention do not rely on these boxes to be applicable, they are not presented here.

According to the embodiment described by reference to FIG. 11, signalization of the position of the tile in the full video, the size of the tile, and of the indication that the tile track can be decoded without any artifact is done once for the whole HEVC bit-stream to be encapsulated, in the ‘moov’ box (1110), in each track definition, using the track header box ‘tkhd’ (1120) and boxes of the media information box ‘mdia’ (1125).

The positions of the tiles are placed in a new type of media header information box 1135, referred to as the TileMediaHandlerEntry box or ‘tmhd’ (1140) that defines horizontal and vertical offsets (horizontal_offset and a vertical_offset).

The size of the visual presentation of the considered tile is put in the existing track header's width and height parameters. If required, the real pixel dimensions of the considered tile can be documented in sample descriptions (via the parameters known as VisualSampleEntry( )in the box known as SampleDescriptionBox)

Finally, signaling a specific track (tile track) is explicitly done by defining a new type of track (‘tile’) in the handler box ‘hdlr’ (1145).

The movie box “moov” 1110 of the initialization segment file 1100 further comprises ‘mvex’ box 1150. This box is used to inform client accessing the encapsulated file that movie fragments are present. It enables to specify in the initialization segment file the duration of the longest track in the presentation. It makes simpler the computation of the presentation duration, avoiding the examination of each movie fragment duration. As illustrated, mvex box 1150 contains a track extend box per track in order to avoid duplication of information that is common to all fragments of each track (i.e. the tile tracks and the composite track), for example the track identifiers and the default size of the samples in the track.

It is to be noted that such an embodiment of signaling tile tracks does not introduce significant overhead in comparison to usual video track signaling. Moreover, it remains independent of the number of movie fragments into which the presentation is split. However, it is not adapted to varying tiling configuration along a video sequence.

According to another particular embodiment that is adapted to handle variation in tiling configuration along a video sequence, signaling is done at a sample level, using the sample grouping mechanisms from the ISO BMFF standard.

Such ample grouping mechanisms are used for representing partitions of samples in tracks. They rely on the use of two boxes: a SampleToGroup box (‘sbgp’) that describes the assignment of samples to sample groups and a SampleGroupDescription box (‘sgpd’) that describes common properties of samples within a particular sample group. A particular type of sample grouping is defined by the combination of one SampleToGroup box and one SampleGroupDescription box via a type field (‘grouping_type’). Multiple sample grouping instances (i.e. pair of SampleToGroup and SampleGroupDescription boxes) can exist based on different grouping criteria.

According to embodiments of the invention, a new grouping criterion related to the tiling of samples is defined. This new grouping _type, called ‘tile’, describes the properties of a tile and is derived from the standard VisualSampleGroupEntry. It can be referred to as TileRegionSampleGroupEntry or HEVCSpatialEntry and is defined as follows:

class HEVCSpatialEntry( ) extends VisualSampleGroupEntry (‘trsg’) { unsigned int(32) tileID; unsigned int(16) horizontal_offset; unsigned int(16) vertical_offset; unsigned int(16) region_width; unsigned int(16) region_height; unsigned int(2) independent; unsigned int(6) reserved=0; }

According to this new type of group entry, tileID parameter is a unique identifier for the tile described by the group. horizontal_offset and vertical_offset parameters are used to set an horizontal and a vertical offset, respectively, of the top-left pixel of the rectangular region represented by the tile, relative to the top-left pixel of the HEVC frame, in luma samples of the base region. region_width and region_height parameters are used to set the width and height, respectively, of the rectangular region represented by the tile, in luma samples of the HEVC frame. independent parameter is a 2-bit word that specifies that the tile comprises decoding dependencies related to samples only belonging to the same tile, as described above be reference to the definition of independent tiles. For the sake of illustration and referring to a standard use of SEI messages for describing tile organization, the flag known as tile_section_exact_match_flag can be used to set the value of the independent flag. The meaning of the latter can be set as follows:

if independent parameter equals 0, the coding dependencies between this tile and other tiles in the same frame or in previous frames is unknown;

if independent parameter equals 1, there are no spatial coding dependencies between this tile and other tiles in the same frame but there can be coding dependencies between this tile and the tile having the same tileID in the previous frames, and

if independent parameter equals 2, there are no coding dependencies between this tile and other tiles having the same tileD in the same frame or in previous frames;

the independent parameter value 3 being reserved.

Optionally, a parameter describing an average bitrate per tile can be set in the tile descriptor so as to be provided to streaming client for adaptation based on bandwidth.

According to this embodiment, the properties of each tile are given once in the movie header (‘moov’ box) by defining, for each tile track, one SampleGroupDescription box (‘sgpd’) with the ‘tile’ grouping_type and a HEVCSpatialEntry. Then, according to ISO BMFF standard, a SampleToGroup box is defined in each tile track fragment to associate each sample of the tile track fragment with its properties since the number of samples is not known in advance.

In case the grid of tiles changes over time, a new SampleGroupDescription box (‘sgpd’) with a new HEVCSpatialEntry can be defined in track fragment box (‘traf’) and referenced by the SampleToGroup box (‘sbgp’). Therefore, in the case according to which the grid is static over time, at least one SampleToGroup box is defined per tile track and tile track fragment. This box represents, in terms of description, at least 28 bytes. Assuming 16 tiles with fragments of 2 second durations, this would represent 1792 bits per second to signal tiling configuration over time, only for the SampleToGroup box. In the case according to which the grid is changing over time, the cost (in term of data amount) would be higher. As described below, this amount of supplemental initialization data can be reduced.

It is to be noted that sample group boxes provide an efficient and extensible tool to add meta-data to individual samples. It is however quite common that given meta-data are valid for all samples of a given track, as this can be the case with tiling descriptor with a fixed NALU pattern in each AU (i.e. with a static tiling configuration along time.

This can be indicated by flagging accordingly each sample of a group using a SampleToGroup box.

Alternately, in order to reduce the amount of initialization data per tile track, some sample groups can be marked as ‘default’ (i.e. valid for all samples). This default grouping limits the description cost in terms of bytes since, for static tiling configuration, it is defined at the ‘moov’ box level, once per track for the whole sequence.

To that end, a second version (version=2) of a group description type can be used in the box known as SampleGroupDescriptionBox (there can be multiple SampleGroupDescriptionBox per traf/stbl box), indicating (via the parameter known as grouping_type) that the referenced sample group applies to all the samples in the current track or in current track fragments.

The new version of the sample group description box can be defined as follows:

aligned(8) class SampleGroupDescriptionBox (unsigned int (32) handler_type) extends FullBox(‘sgpd’, version, 0) { unsigned int(32) grouping_type; if (version ==1) || (version==2) {unsigned int (32) default_length;} unsigned int (32) entry_count; int i; for ( i = 1; i <= entry_count; i++ ) { if (version != 0) { if (default_length==0) { unsigned int(32) description_length; } } switch(handler_type) { case ‘vide’: // for video tracks VisualSampleGroupEntry(grouping_type); break; case ‘soun’: // for audio tracks AudioSampleGroupEntry(grouping_type); break; case ‘hint’: // for hint tracks HintSampleGroupEntry(grouping_type); break; } }

According to this extended type of SampleGroupDescription box, when version equals 2, this group description and any SampleGroupEntry applies to all the samples of the current track or track fragment. The grouping_type parameter is an integer that identifies the SampleToGroup box that is associated with this sample group description. It is to be noted that when a track or a track fragment comprises in its initialization data a SampleGroupDescription box with version=2, there is no need to put in these initialization data a SampleToGroup box describing the corresponding grouping_type (since description applies to all samples by definition).

In this definition of the new version of the sample group description box, entry_count is an integer that gives the number of entries in the following table, default_length indicates the length of every group entry (if the length is constant), or zero if it is variable, and description_length indicates the length of an individual group entry, in the case it varies from entry to entry and default_length is therefore zero.

According to this embodiment, the grouping_type could have a specific value to indicate a spatial/tile grouping: it can be, for example, the hexadecimal value corresponding to the ASCII code for ‘tile’ (0x74696C65). At most one occurrence of this box with the same value for grouping_type shall exist for a track.

It is to be noted that in case of adaptive grid moving over time, the sample to group box remains the same (i.e. ‘tile’ grouping_type) and keeps on applying to all samples. As such, only the sample group description box needs to be updated in the track fragments of tile tracks whose tiling configuration changed from the default configuration signaled in the moov/trak/mdia/minf/stbl box. This reduces the signalization cost for adaptive tiles.

Alternately, and still in order to reduce the amount of initialization data per tile track (to avoid repeating a SampleToGroup box in each tile track fragment), a new DefaultSampleToGroups box referred ‘dsgp’ (or another similar box having the same semantic, whatever its name) is defined to be included only in the SampleTable box (‘stbl’) from each moov/trak boxes as part of initialization information. This new box would associate to all samples a set of sample group descriptions that would apply to all samples within a track.

The new DefaultSampleToGroup box can be defined as follows:

aligned(8) class DefaultSampleToGroups extends FullBox(‘dsgp’, version, 0) { unsigned int(32) entry_count; for (i=1; i <= entry_count; i++) { unsigned int(32) grouping_type; if (version == 1) { unsigned int(32) grouping_type_parameter; } unsigned int(32) group_description_index; } }

where entry_count parameter gives the number of entries in the list of groups to be associate to each sample and grouping_type parameter is an identifier for the type of grouping, referred to in the SampleGroupDescription box. For example, in a particular embodiment, the grouping type can have a specific value indicating a spatial/tile grouping. It can be, for example, the hexadecimal value corresponding to the ASCII code for ‘tile’ (0x74696C65). The group_description_index parameter is an integer that gives the index of the sample group entry which describes the samples in this group. The index ranges from one to the number of sample group entries in the SampleGroupDescription box or takes the value zero to indicate that this sample is not a member of any group of this type. Finally, the grouping_type_parameter parameter is an indication for the sub-type of the grouping (if used by the grouping type).

This enables to signal that all samples from a track follow the same group description for a given grouping type, using at most 32 bytes per tile whatever the number of movie fragments if only the tile grouping is in use (entry_count=1). In case of adaptive grid moving over time, a new DefaultSampleToGroups box and a new SampleGroupDescription box could be defined in the track fragments. The new DefaultSampleToGroups box would replace the previous definition and refers to the new tile description in the new SampleGroupDescription box. Thus, a SampleToGroup box is not defined for each track fragment but only when the tile grid definition changes.

Still according to a particular embodiment that is adapted to handle variation in tiling configuration along a video sequence, signaling is done at sub-sample level with a new sample map box.

This embodiment for sample description regarding the tiling configuration applies to a single track encapsulated tiled HEVC bit-stream. It may find application for MPEG-4 encapsulation of a tiled HEVC bit-stream or at client side, after the resolution of the extractors of a composite track in order to save the downloaded spatial parts into a single video track conforming to MPEG-4 standard. Another application if directed to the transformation of a composite track into a standard single track conforming MPEG-4, addressed to a MPEG-4 parser that does not support extractors.

FIG. 12, comprising FIG. 12a and FIG. 12 b, illustrates signalization of the position of a tile in a full video, the size of the tile, and of the indication that the tile track can be decoded without any artifact, at sub-sample level, adapted to handle various tiling configuration.

FIG. 12a illustrates steps carried out by a client device (e.g. video player). In a first step (step 1200), the client device downloads initialization data, or reads initialization data if the file is a local file, for example initialization data of an encapsulated bit-stream conforming to MPEG-4 standard, typically the content of a moov box.

From these initialization data, the client device can parse track header information where tile information is coded (step 1205). With this tile information, the user can choose a region of interest via a graphical interface of the client device (step 1210) that can correspond to one or more tiles.

The corresponding tile tracks as well as the composite track are downloaded or read by the client device (steps 1215 and 1220). Next, the extractors of the composite tracks are resolved using tile tracks so as to obtain a single video track (step 1225). Finally, the client device builds and adds the tiling description, for example in the SampleTableBox, in the obtained video track (step 1230).

An example of tiling description is illustrated in FIG. 12 b. As illustrated, tiling description 1250 comprises movie box “moof” 1255 and data box ‘mdat’ 1260. ‘moof’ box 1255 contains one SampleTable box per track that contains a SampleToGroup box 1265 that describes the different sample groups, a sample group description box 1270 that describes the mapping between NAL units of each sample and the tiles and a sample group description box 1275 that contains the tile descriptions. The sample to group box 1265 indicates the ‘tsgm’ grouping type for the group entry TileSampleMapEntry.

The TileNALUMapEntry group entry 1270 defines the mapping between NAL units of a sample and the tiles (this is the reason why such an embodiment refers to sub-sample level signaling). This box that grouping_type parameter is equal to ‘tsgm’ contains the number of NAL units per sample.

The TileNALUMapEntry box can be defined as follows (as illustrated in FIG. 12b ):

class TileNALUMapEntry( ) extends VisualSampleGroupEntry (‘tsgm’) { unsigned int(8) reserved = 0; unsigned int(8) entry_count; for (i=1; i<= entry_count; i++) unsigned int(32) tileID; } }

where entry_count indicates the number of NALUs in a track sample and tileID provides the unique identifier for the spatial tile described by the current track.

The TileNALUMapEntry box can also be optimized, in terms of size, as follows:

class TileNALUMapEntry( ) extends VisualSampleGroupEntry (‘tsgm’) { unsigned int(6) reserved = 0; unsigned int(1) large_size; unsigned int(1) mode; if (large_size) { unsigned int(16) entry_count; } else { unsigned int(8) entry_count; } for (i=1; i<= entry_count; i++) if (mode) { if (large_size) { unsigned int(16) NALU_start_number; } else { unsigned int(8) NALU_start_number; } } unsigned int(16) tileID; } }

where large_size parameter indicates whether the number of NAL unit entries in the track samples is represented on 8 or 16 bits and mode parameter indicates whether each NAL unit entry is described (when mode is not set) or only the NAL unit entries corresponding to tile ID change (when mode is set). In the latter case, the NAL unit number is coded on 16 or 8 bits depending on the value of large_size parameter.

It specifies the mapping between each of these NAL units and a specific tile. The tile description is provided in the sample group description box 1275, as described here above, each tile being described one after the other.

It is to be noted that the given example is a particular case where one NAL unit contains data for one tile and this along the sequence duration. When tile data are split over several NAL units, several aggregators are used for describing the set of NAL units corresponding to the tile. When the number of NAL units varies over the time, several tileSampleMap entries can be defined and the samples to group reference alternatively, from one fragment to another, in track fragment header, the appropriate tile map entry via the grouping type.

In the data encapsulation scheme as described by reference to FIG. 10, HEVC bit-stream is encapsulated as a composite track 1015 that points to tile tracks 1020-1 to 1020-2 actually containing the compressed video data. The composite track contains the configuration data coming from the different HEVC parameter set NAL units (denoted PS in FIG. 10). The other elements of the composite track mainly consist in a list of extractors, one per sample and per tile track, pointing (via the track reference box (‘tref’) contained in moov box of the initialization segment file 1005) to the compressed video data encapsulated in the tile tracks.

The current dependency signaling means in ISO BMFF standard (Part 15 of the standard) are located in the track reference box ‘tref’ that is part of track boxes in the moov box of the initialization segment file 1005. The ‘tref’ box provides a reference from the containing track to another track in the presentation. The containing track may reference multiple other tracks in the presentation. The type of dependency between tracks is specified by a reference_type parameter that can take two values, ‘scal’ or ‘sbas’, in current standard. ‘sbas’ value stands for scalable base. It indicates that the referenced track is the scalable base track of the current track in a scalable presentation. ‘scal’ value stands for scalability. It indicates a relationship between tracks representing different layers of a scalable representation. It means that the containing track depends on the referenced track.

In the embodiment described by reference to FIG. 10, there are no specific scalability related dependencies. Even if scalable videos can be taken into consideration, focus is made here on spatial dependencies between the composite track and the tile tracks. These dependencies can be explicitly indicated, for example, with a new ‘tile’ value as done in the tref box of moov box of the initialization segment file 1005, corresponding to the composite track 1015 (id=1).

While the illustrated example of dependencies from one track to other tracks is directed to tiles (i.e. dependencies from one composite track to tile tracks), other types of dependencies from one track to one or several tracks can be handled similarly. Therefore, the reference_type parameter may indicate, for example, a sub-layer dependency (e.g. ‘subl’ value) to indicate that a track depends on one or more tracks.

Accordingly, sub-layer tracks can be defined as tracks containing parts of an HEVC elementary bit-stream, that can be discarded without harming the decoding process of other HEVC NAL units. Such a definition applies, in particular, to temporal layers in scalable HEVC bit-streams as well as to tile tracks, as described above. Each track corresponding to a sub-layer track can be marked in the HEVCConfiguration record (i.e. in the SampleTableBox) using a bit (or a flag) that when set to a predetermined value indicates that this HEVC track is a sub-layer track and only contains NAL units that are referenced from other track(s) (i.e. this HEVC track is not displayable), for example from a composite track. When the value of this bit or flag has the opposite value, it indicates that this HEVC track is a sub-layer track that also contains initialization data (i.e. this HEVC track is displayable). For example, it is possible to use reserved bits in the current HE VCDecoderConfigurationRecord box.

According to a particular embodiment described by reference to FIG. 12, each tile track is playable as a standard video track.

FIG. 13 illustrates an example of encapsulating a HEVC bit-stream as a set of tracks comprising a composite track and independent tile tracks that are playable as standard video tracks, according to an embodiment of the invention. For the sake of illustration, the encapsulated bit-stream corresponds to the video sequence schematically illustrated in FIG. 2.

The HEVC bit-stream encapsulation illustrated in FIG. 13 mainly differs from the one illustrated in FIG. 10 in that each tile track comprises a particular extractor that allows recovering of initialization and configuration data.

As illustrated, each of tile tracks 1300-1 to 1300-12 comprises an extractor 1305-1 to 1305-12 that points on HEVC parameter set NAL units (denoted PS) of composite track 1310, representing initialization and configuration data, being recalled that, according to HEVC standard, these initialization and configuration data typically correspond to the various parameter sets of the HEVC bit-stream. Accordingly, such initialization and configuration data make each tile track playable as a normal video track

The extractor added to each tile track is advantageously located at the beginning of the media data box “mdat” of each tile track, before video data samples.

These dependencies from the tiles tracks (1300-1 to 1300-12) to the composite track (1310), denoted 1315-1 to 1315-12, have to be signaled, for example in the reference_type parameter of ‘tref’ boxes 1320-1 to 1320-12 associated to the tile tracks (in movie box ‘moov’ of initialization segment file 1325). According to this embodiment, the track containing the parameter set is considered as the HEVC base track ‘hbas’ (this is close to the SVC case where the track that contains the lowest operating point in a scalable presentation is considered as the ‘scalable base track’ ‘sbas’). As illustrated, the tracks depending on the base track (i.e. tile tracks 1300-1 to 1300-12, having identifiers id=2 to 12, depending on composite track 1310, having identifier id=1) have the value ‘hbas’ in their track reference box (1320-1 to 1320-12).

Again, the tiling signalization can be at track level, at a sample level, or at track and sample levels.

It is to be noted that by default tile tracks are considered as not displayable. However, an advanced parser conforming to MPEG-4 standard can detect displayable tile tracks and expose them, for example, in a streaming manifest file by looking at the ‘tref’ box (if the tile track contains a reference type of the ‘hbas’ type, it can be considered as displayable). This means that this tile track can be considered as a standard video track even if marked with ‘tile’ value in the handler box. When the tiling signalization is sample based, the tile tracks or sub-layer tracks can be tagged as ‘vide’ in their handler box since the tiling information is put in the box known as SampleTableBox.

FIG. 14 illustrates an example of encapsulating a HEVC bit-stream as a set of tracks comprising a composite track, an initialization data track, and independent tile tracks that are playable as standard video tracks, according to another embodiment of the invention. For the sake of illustration, the encapsulated bit-stream corresponds to the video sequence schematically illustrated in FIG. 2.

The HEVC bit-stream encapsulation illustrated in FIG. 14 mainly differs from the one illustrated in FIG. 13 in that initialization data are put in a dedicated initialization data track 1400 (and not in the composite track 1310).

One of the advantages provided by such an embodiment as compared to the one described by reference to FIG. 13 is directed to the amount of data to be transmitted when tile tracks are to be played independently. Since initialization data are transmitted in a dedicated track, it is not requested to transmit the composite track.

It is to be recalled that according to the current specification of the HEVC file format, there exist two possibilities to convey parameter sets (PS) in the file format: in the box known as Sample Entry only or in the Sample Entry box and in the data samples. These two configurations are respectively signaled with the ‘hvc1’ and ‘hev1’ boxes in a box known as Sample Table. While storing parameters in samples is more complex, it allows for more dynamism in the case of parameter set updates. Therefore, in a preferred embodiment, parameter sets are conveyed in the Sample Entry box and in the data samples (with ‘hev1’ value in HEVCSampleEntries parameter in the Sample Table box) in order to be able to handle picture parameter sets (PPS) changes, in particular for tiling configuration changes.

Accordingly, dedicated initialization data track 1400 contains as data only non-VCL HEVC NAL units like NAL units that type is equal to 32, 33, or 34, corresponding to video parameter set, sequence parameter set, or picture parameter set, respectively.

As illustrated in FIG. 14, extractors 1415-1 to 1415-12 located at the beginning of the media data box “mdat” of the tile tracks 1410-1 to 1410-12 point to data of dedicated initialization data track 1400. Likewise, the first extractor (1420) of the composite track 1405 points to data of dedicated initialization data track 1400. Therefore, initialization data track 1400 is the only track of the encapsulated HEVC bit-stream that does not reference any other track. As such, since there is not any dependency indicated in the tref box (no ‘hbas’ dependency in tref box) associated to initialization data track 1400 (id=2), the latter is considered as not displayable independently.

When some initialization data are modified in the video bit-stream (i.e. when Picture Parameter Sets occur in the HEVC bit-stream), they are put in the sample data as illustrated with reference 1425, at the temporal location where changes occur. Corresponding extractors referenced 1430 and 1435-1 to 1435-12 are inserted in composite track 1405 and in each of the tile tracks 1410-1 to 1410-12, respectively, that is to say in each tile track referring to these new PPS.

In each track of the encapsulated HEVC bit-stream, the samples (and associated NALUs) are organized in temporal order. Likewise, the Picture Parameter Sets are organized in temporal order in the dedicated initialization data track 1400. A ‘trun’ box (not represented in FIG. 14) allows providing the correct decoding time for each sample.

Naturally, in order to satisfy local and specific requirements, a person skilled in the art may apply to the solution described above many modifications and alterations all of which, however, are included within the scope of protection of the invention as defined by the following claims. 

1. A method for reproducing video data based on a media file comprising a media data box and a metadata box, the method comprising: obtaining a media file in which a plurality of NAL(Network Abstraction Layer) units based on video data are contained in the media data box and tile information, which indicates information related to one or more spatial tiles corresponding to the plurality of NAL units contained in the media data box is described in the metadata box, and reproducing video data corresponding to one or more NAL units within the media data box by using the tile information within the metadata box.
 2. The method according to claim 1, wherein the tile information includes: tile identifier information for identifying each of a plurality of the spatial tiles of a sample of the video data, tile width information for identifying a width of each of the plurality of the spatial tiles of a sample of the video data, and tile height information for identifying a height of each of the plurality of the spatial tiles of a sample of the video data.
 3. The method according to claim 2, wherein the tile information includes: tile offset information for identifying offset of each of the plurality of spatial tiles of a sample of the video data.
 4. The method according to claim 2, wherein the tile information further comprises a parameter to signal decoding dependencies of the one or more spatial tiles on other spatial tiles.
 5. The method according to claim 4, wherein said parameter is set to one value chosen from among the following values: a first value to signal that the coding dependencies between the one or more spatial tiles and other tiles in the same sample or in previous samples are unknown; a second value to signal that there are no spatial coding dependencies between the one or more spatial tiles and other tiles in the same sample but there can be coding dependencies between the one or more spatial tiles and a spatial tile having the same tile identifier in previous samples; a third value to signal that there are no coding dependencies between the one or more spatial tile and other spatial tiles having a same tile identifier in the same sample or in previous samples; and a fourth value to signal a reserved value.
 6. The method according to claim 5, wherein said parameter is a 2-bit parameter, and the first, second, third and fourth values are “0”, “1”, “2” and “3” respectively.
 7. The method according to claim 1, further comprising: designating an ROI (Region Of Interest), and determining one or more NAL units to be used to reproduce video data of the ROI.
 8. A device for reproducing video data based on a media file comprising a media data box and a metadata box, the device comprising at least one processor configured for carrying out the steps of: obtaining a media file in which a plurality of NAL(Network Abstraction Layer) units based on video data are contained in the media data box and tile information, which indicates information related to one or more spatial tiles corresponding to the plurality of NAL units contained in the media data box, is described in the metadata box, and reproducing video data corresponding to one or more NAL units within the media data box by using the tile information within the metadata box.
 9. The device according to claim 8, wherein the tile information includes: tile identifier information for identifying each of a plurality of the spatial tiles of a sample of the video data, tile width information for identifying a width of each of the plurality of the spatial tiles of a sample of the video data, and tile height information for identifying a height of each of the plurality of the spatial tiles of a sample of the video data.
 10. The device according to claim 9, wherein the tile information includes: tile offset information for identifying offset of each of the plurality of spatial tiles of a sample of the video data.
 11. The device according to claim 9, wherein the tile information further comprises a parameter to signal decoding dependencies of the one or more spatial tiles on other spatial tiles in the same samples and/or previous samples.
 12. The device according to claim 11, wherein the processor is further configured for setting said parameter to one value chosen from among the following values: a first value to signal that the coding dependencies between the one or more spatial tiles and other tiles in the same sample or in previous samples are unknown; a second value to signal that there are no spatial coding dependencies between the one or more spatial tiles and other tiles in the same sample but there can be coding dependencies between the one or more spatial tiles and a spatial tile having the same tile identifier in previous samples; a third value to signal that there are no coding dependencies between the one or more spatial tile and other spatial tiles having a same tile identifier in the same sample or in previous samples; and a fourth value to signal a reserved value.
 13. The device according to claim 12, wherein said parameter is a 2-bit parameter, and the first, second, third and fourth values are “0”, “1”, “2” and “3” respectively.
 14. The device according to claim 8, further comprising: designating an ROI (Region Of Interest), and determining one or more NAL units to be used to reproduce video data of the ROI.
 15. A generation method of a media file comprising a media data box and a metadata box, the method comprising: generating the media file in which a plurality of NAL(Network Abstraction Layer) units based on video data are contained in the media data box and tile information, which indicates information related to one or more spatial tiles corresponding to the plurality of NAL units contained in the media data box, is described in the metadata box, wherein the tile information is available to a client device which has received the media file in order for the client device to specify a correspondence relationship between the plurality of NAL units and the one or more spatial tiles.
 16. The generation method according to claim 15, wherein the tile information includes: tile identifier information for identifying each of a plurality of the spatial tiles corresponding to a sample of the video data, tile width information for identifying a width of each of the plurality of the spatial tiles corresponding to a sample of the video data, and tile height information for identifying a height of each of the plurality of the spatial tiles corresponding to a sample of the video data.
 17. The generation method according to claim 16, wherein the tile information includes: tile offset information for identifying offset of each of the plurality of spatial tiles corresponding to a sample of the video data.
 18. The generation method according to claim 16, wherein the tile information further includes a parameter to signal decoding dependencies between the one or more spatial tiles and other spatial tiles.
 19. The generation method according to claim 18, wherein said parameter is set to one value chosen from among the following values: a first value to signal that the decoding dependencies between the one or more spatial tiles and other tiles in the same sample or in previous samples are unknown; a second value to signal that there are no spatial decoding dependencies between the one or more spatial tiles and other tiles in the same sample but there can be decoding dependencies between the one or more spatial tiles and a spatial tile having the same tile identifier in previous samples; a third value to signal that there are no decoding dependencies between the one or more spatial tile and other spatial tiles having a same tile identifier in the same sample or in previous samples; and a fourth value to signal a reserved value.
 20. The generation method according to claim 19, wherein said parameter is a 2-bit parameter, and the first, second, third and fourth values are “0”, “1”, “2” and “3” respectively.
 21. The generation method according to claim 15, further comprising: designating an ROI (Region Of Interest), and determining one or more NAL units to be used to reproduce video data of the ROI.
 22. A device for generating a media file comprising a media data box and a metadata box, the device comprising at least one microprocessor configured for carrying out the steps of: generating the media file in which a plurality of NAL(Network Abstraction Layer) units based on video data are contained in the media data box and tile information, which indicates information related to the one or more spatial tiles corresponding to the plurality of NAL units contained in the media data box, is described in the metadata box, wherein the tile information is available to a client device which has received the media file in order for the client device to specify a correspondence relationship between the plurality of NAL units and the one or more spatial tiles.
 23. The device according to claim 22, wherein the tile information includes: tile identifier information for identifying each of a plurality of the spatial tiles corresponding to a sample of the video data, tile width information for identifying a width of each of the plurality of the spatial tiles corresponding to a sample of the video data, and tile height information for identifying a height of each of the plurality of the spatial tiles corresponding to a sample of the video data.
 24. The device according to claim 23, wherein the tile information includes: tile offset information for identifying offset of each of the plurality of spatial tiles corresponding to a sample of the video data.
 25. The device according to claim 23, wherein the tile information further includes a parameter to signal decoding dependencies between the one or more spatial tiles and other spatial tiles in the same samples and/or previous samples.
 26. The device according to claim 25, wherein the microprocessor is further configured for setting said parameter to one value chosen from among the following values: a first value to signal that the decoding dependencies between the one or more spatial tiles and other tiles in the same sample or in previous samples are unknown; a second value to signal that there are no spatial decoding dependencies between the one or more spatial tiles and other tiles in the same sample but there can be decoding dependencies between the one or more spatial tiles and a spatial tile having the same tile identifier in previous samples; a third value to signal that there are no decoding dependencies between the one or more spatial tile and other spatial tiles having a same tile identifier in the same sample or in previous samples; and a fourth value to signal a reserved value.
 27. The device according to claim 26, wherein said parameter is a 2-bit parameter, and the first, second, third and fourth values are “0”, “1”, “2” and “3” respectively.
 28. The device according to claim 15, further comprising: designating an ROI (Region Of Interest), and determining one or more NAL units to be used to reproduce video data of the ROI. 